package com.atguigu.mapper;

import com.atguigu.base.BaseMapper;
import com.atguigu.entity.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper extends BaseMapper<Permission> {
    List<String> findPermissionCodeListByAdminId(@Param("adminId") Long adminId);

    List<Permission> findPermissionListByAdminId(@Param("adminId") Long adminId);
}
